package org.fioma.tree;

public interface NodeFactory<L, I extends InternalNode<L, I, F>, F extends LeafNode<L, I, F>> {

	public I createInternalNode(I parent, L label);

	public F createLeafNode(I parent, L label);

	public I createNewRootNode();
}
